import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import { generate } from '@feidao/core/querystring';

export default async function (fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	console.log("zj-h5manage-001 page_size change");
	const page_size = parseInt(args[0].currentTarget.value);
	const params = fd.data.params;
	params['page_size'] = page_size;
	params['page_no'] = 1;
	window.location.href = generate(params);
}
